<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-for循环对象数组</title>
    <script src="/js/vue.js"></script>
</head>
<body>
<div id="app">
    <p>v-model绑定value属性的值和model的数据</p>
  <input type="text" v-model="msg"> {{msg}}
</div>
<script>
    new Vue({
        el: "#app",
        data: {
           msg:"hello Vue"
        }
    });
</script>
</body>
</html>